﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.OleDb;
using DTO;

namespace DAL
{
    public class NguoiDung_DAL
    {
        static OleDbConnection KN;
        public static DataTable LoadNguoiDung()
        {
            string sChuoiTruyVan = string.Format("SELECT * FROM GIAOVIEN");
            //Mo ket noi;
            KN = DataProvider.KetNoi();
            DataTable dt = DataProvider.LayDuLieuDataTable(sChuoiTruyVan, KN);
            DataProvider.DongKetNoi(KN);
            return dt;
        }

        
    }
}
